The E ects of Mispredicted - Path Execution on BranchPrediction
نویسندگان
چکیده
Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works, must be obtained from the IEEE. Abstract Branch prediction accuracies determined using trace-driven simulation do not include the eeects of executing branches along a mispredicted path. However, branches along a mispredicted path will pollute the branch prediction structures if no recovery mechanisms are provided. Without recovery mechanisms, prediction rates will suuer. In this paper, we determine the appropriateness of recovery mechanisms for the four structures of the Two-Level Adaptive Branch Predic-tor: the Branch Target Buuer (BTB), the Branch History Register (BHR), the Pattern History Tables (PHTs), and the Return Address Stack (RAS). We then propose cost-eeective recovery mechanisms for these branch prediction structures. For ve benchmarks from the SPECint92 suite, we show that performance is not aaected if recovery mechanisms are not provided for the BTB and the PHTs. On the other hand, without any recovery mechanisms for the BHR and RAS, performance drops by an average of 29%.
منابع مشابه
Exploiting the Prefetching Effect Provided by Executing Mispredicted Load Instructions
As the degree of instruction-level parallelism in superscalar architectures increases, the gap between processor and memory performance continues to grow requiring more aggressive techniques to increase the performance of the memory system. We propose a new technique, which is based on the wrong-path execution of loads far beyond instruction fetch-limiting conditional branches, to exploit more ...
متن کاملWrong Path Events: Exploiting Illegal and Unusual Program Behavior for Early Misprediction Recovery
Control and data speculation are widely used to improve processor performance. Correct speculation can reduce execution time, but incorrect speculation can lead to increased execution time and greater energy consumption. This paper proposes a mechanism to leverage unexpected program behavior, called wrong-path events, that occur during periods of incorrect speculation. A wrong-path event is an ...
متن کاملAn approach for quantifying the impact of not simulating mispredicted paths
We describe an approach and set of tools for quantifying the potential error introduced by not simulating instructions from mispredicted paths in out-of-order speculative superscalar processors. The approach consists of modeling the behavior of programs on out-of-order superscalar processors twice: once by actually simulating the effects of the instructions in the mispredicted paths, and once b...
متن کاملThe effects of mispredicted-path execution on branch prediction structures
Branch prediction accuracies determined using tracedriven simulation do not include the eflects of executing branches along a mispredicted path. However, branches along a mispredicted path will pollute the branch prediction structures i f no recovery mechanisms are provided. Without recovery mechanisms, prediction rates will suger. In this paper, we determine the appropriateness of recovery mec...
متن کاملThe Effect of Executing Mispredicted Load Instructions in a Speculative Multithreaded Architecture
Concurrent multithreaded architectures exploit both instructionlevel and thread-level parallelism in application programs. A single-threaded sequencing mechanism needs speculative execution beyond conditional branches in order to exploit more instruction-level parallelism. In addition, an aggressive multithreaded architecture should also use thread-level control speculation in order to exploit ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996